/*

import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'dart:convert';
import 'dart:io';
import 'package:http/http.dart' as http; //导入网络请求相关的包

class DownLoadPage extends StatefulWidget{
  @override
  State<StatefulWidget> createState() {
    // TODO: implement createState
    return new ;
  }

}
class DownloadPageState extends State<DownLoadPage>{

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return new Scaffold(appBar: new AppBar(),
    body: new ,

    );
  }
  void _pullNet()  {
    http.get("http://www.wanandroid.com/project/list/1/json?cid=1")
        .then((http.Response response) {
      var convertDataToJson = json.decode(response.body);
      convertDataToJson = convertDataToJson["data"]["datas"];
      //打印请求的结果
      print(convertDataToJson);
      //更新数据
      setState(() {

        data = convertDataToJson;
      });
    });
  }

}*/
